package exsun.jt808.data.distribute_data.jt1078;

import exsun.jt808.data.distribute_data.DistributeEntity;

import java.io.Serializable;

/**
 * 实时音视频传输控制
 */
public class RealtimeMediaUploadCmd extends DistributeEntity implements Serializable {
    /**
     * 通道号
     */
    private int chanelId;
    /**
     * 控制指令
     * 0关闭音视频
     * 1切换码流
     * 2暂停传输
     * 3恢复传输
     * 4关闭双向对讲
     */
    private int CmdType;
    /**
     * 关闭音视频类型
     * 0 关闭音视频
     * 1 只关闭音频 保留视频
     * 2 只关闭视频 保留音频
     */
    private int CloseMediaType;
    /**
     * 切换码流类型 0主码流 1子码流
     */
    private int ChangeCodeType;

    public int getChanelId() {
        return chanelId;
    }

    public void setChanelId(int chanelId) {
        this.chanelId = chanelId;
    }

    public int getCmdType() {
        return CmdType;
    }

    public void setCmdType(int cmdType) {
        CmdType = cmdType;
    }

    public int getCloseMediaType() {
        return CloseMediaType;
    }

    public void setCloseMediaType(int closeMediaType) {
        CloseMediaType = closeMediaType;
    }

    public int getChangeCodeType() {
        return ChangeCodeType;
    }

    public void setChangeCodeType(int changeCodeType) {
        ChangeCodeType = changeCodeType;
    }
}
